import { buttonPermission } from '@/utils/permission'

export default {
	mounted(el, binding) {
		const { value } = binding
		if(!buttonPermission(value)){
			el.parentNode.removeChild(el);
		}
	}
};
